/*
 * ListenerFile.h
 *
 *  Created on: Mar 16, 2009
 *      Author: Andrzej Olchawa
 *      mailto: andrzejolchawa@gmail.com
 *      http://www.hardtechnology.org
 *      This is a part of the Armazd project, which is covered by
 *      GNU GPL v2 license.
 */

#ifndef LISTENERFILE_H_
#define LISTENERFILE_H_

/* Include section */
#include <iostream>

#include "DataSenderManager.h"
#include "HTFramework/HTThread.h"
#include "Listener.h"

/* namespace declaration */
using namespace std;

/* ListenerFile class definition */
class ListenerFile : public HTThread<ListenerFile>, public Listener
{

private:

	string path;

public:

	/* Constructors and destructor */
	ListenerFile();
	ListenerFile(string, string);

	virtual ~ListenerFile();

	void run();
};

#endif /* LISTENERFILE_H_ */
